package com.wardrobe.mapper.slave.address;

import com.wardrobe.domain.address.AddressBean;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018/11/14.
 */
@Component("addressSlaveMapper")
public interface AddressSlaveMapper {

    List<AddressBean> selectAddressByUserId(long userId);

    AddressBean selectDefaultAddress(long userId);

    AddressBean selectAddressById(long id);
}
